package com.gdsdxy.bookshop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gdsdxy.bookshop.pojo.Book;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface BookMapper extends BaseMapper<Book> {
    // 通过书籍Id查询库存量
    Integer findCount(Integer bookid);
}
